Carbon


SetCollectionExceptionProc

Header: Collections.h Carbon status: Supported

Installs an exception procedure in a collection object.

void SetCollectionExceptionProc (
    Collection c, 
    CollectionExceptionUPP exceptionProc
);
c

A reference to the collection object whose exception procedure you want to change. The behavior of this function is undefined if you do not provide a reference to a valid collection object.

exceptionProc

A pointer to the new exception procedure.

DISCUSSION

The SetCollectionExceptionProc function copies the function pointer from the exceptionProc parameter into the collection object referenced by the c parameter.

To obtain a pointer to an existing exception procedure in a collection object, use the GetCollectionExceptionProc function.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)